<?php
    header("Content-Type: text/html; charset=utf-8");
    $contentSection = pc_variable("contentSection");
    if($contentSection === null) {
        $contentSection = "common";
    }
    pc_pagelet(pc_variable("section") . "/current-page");
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	    <title><?php pc_echo(pc_variable("title")); ?> - <?php pc_echo(pc_message("common.application.name")); ?></title>
	    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	    <meta name="description" content="<?php pc_echo(pc_variable("description")); ?>" />
	    <meta name="keywords" content="<?php pc_echo(pc_variable("keywords")); ?>" />
	    <meta name="language" content="<?php pc_echo(pc_variable("locale")); ?>" />
	    <meta name="robots" content="All" />
	    <meta name="copyright" content="<?php pc_echo(pc_message("common.company.name")); ?>" />
	
	    <link rel="stylesheet" type="text/css" href="css/styles.css" />
	    <link rel="stylesheet" type="text/css" href="css/custom.css" />
	</head>
	<body>
	    <div id="wrapper">
	        <div id="header"><h1><?php pc_echo(pc_message("common.application.name")); ?></h1></div>
	        <div id="nav1">
                <?php pc_pagelet("common/navigation"); ?>
            </div>
            <div id="content-wrapper">
                <?php pc_pagelet($contentSection . "/content"); ?>
            </div>
            <div id="footer">
                <?php pc_pagelet("common/footer"); ?>
            </div>
        </div>
	</body>
</html>